﻿using Coldairarrow.Entity.BackStage.Abstracts;
using Coldairarrow.Util;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace Coldairarrow.Business.BackStage.Abstracts
{
    public interface IBS_AbstractsBusiness
    {
        Task<PageResult<BS_Abstracts>> GetDataListAsync(PageInput<ConditionDTO> input);
        Task<BS_Abstracts> GetTheDataAsync(string id);
        BS_Abstracts GetZCXYDataAsync();
        BS_Abstracts GetJFGZDataAsync();
        Task AddOrUpdateZCXYData(BS_Abstracts data);
        Task AddOrUpdateJFGZData(BS_Abstracts data);
        BS_Abstracts GetSYSMDataAsync();
        Task AddOrUpdateSYSMData(BS_Abstracts data);
        BS_Abstracts GetTXSMDataAsync();
        Task AddOrUpdateTXSMData(BS_Abstracts data);
        Task AddDataAsync(BS_Abstracts data);
        Task UpdateDataAsync(BS_Abstracts data);
        Task DeleteDataAsync(List<string> ids);
    }
}